package com.danikula.videocache;

import android.net.Uri;
import android.util.Log;

import com.danikula.videocache.file.FileNameGenerator;

/**
 * @author: ${唐杰}
 * @date: 2021/4/11
 */
public class MyFileNameGenerator implements  FileNameGenerator {
    public String generate(String url) {
        Log.e("MyFileNameGenerator",url);
        Uri uri = Uri.parse(url);
        String audioId = uri.getQueryParameter("guid");
        Log.e("MyFileNameGenerator",audioId+"");
        return url;
    }


}
